package com.itheima.domain.mongo;

import com.itheima.domain.db.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

//测灵魂
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "test_soul")
public class TestSoul implements Serializable {

    private ObjectId id;
    private String name;
    private String cover;
    private String level;
    private Integer star;
    private List<String> questionIds;
    private Integer isLock;
    private String reportId;
    private Long userId;

}
